﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Mvc4Demo.Areas.Admin.Models
{
    public class PdfTemplateViewModel
    {
        public int Id { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public DateTime CreatedOn { get; set; }

        [Required]
        public int CreatedBy { get; set; }

    }

    public class PdfTemplateDetailsViewModel : PdfTemplateViewModel
    {
        [AllowHtml]
        [Required]
        public string RowHtml { get; set; }
    }
}